package com.java.multipledatasource.thread;

import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/**
 * @author hu
 * @version 1.0
 * @date 2021/1/17 0017 上午 8:20
 * @description
 */
public class Aqs {

    static Lock lock = new ReentrantLock(true);

    public static void main(String[] args) {
        lock.lock();
        try {

        } finally {
            lock.unlock();
        }
    }
}
